package cn.s1995.sloth.bizs.oo.req;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.List;

@Data
@Schema(description = "订单退款参数")
public class OrderRefundREQ {

	/**
	 * 用户id
	 */
	@Schema(description = "用户id", hidden = true)
	private Long uid;

	/**
	 * 订单id
	 */
	@NotNull(message = "订单id不能为空")
	@Schema(description = "订单id")
	private Long orderId;

	/**
	 * 订单项
	 */
	@Schema(description = "订单项")
	private List<OrderRefundItemREQ> items;
}
